switch (foo) {
    case 1:
        break;
    case 2:
        break;
    case 3:
        break;
}
